package com.yotta.operationdatascreencode.web.response;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;

/**
 * 城市结构体
 */
@Schema(description = "城市信息")
public class TestRsp {
    @NotBlank(message = "订阅城市不能为空")
    @Schema(description = "城市代码", required = true)
    String cityCode;
    @NotBlank(message = "订阅城市不能为空")
    @Schema(description = "城市名称", required = true)
    String cityName;

    public String getCityCode() {
        return cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
}
